# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'KChart.ui'
#
# Created: Sun Jul 07 10:49:27 2013
#      by: PyQt4 UI code generator 4.9.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_KChart(object):
    def setupUi(self, KChart):
        KChart.setObjectName(_fromUtf8("KChart"))
        KChart.resize(776, 469)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(KChart.sizePolicy().hasHeightForWidth())
        KChart.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(KChart)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.graphicsView = KBaseGraphicView(KChart)
        self.graphicsView.setFrameShadow(QtGui.QFrame.Sunken)
        self.graphicsView.setLineWidth(0)
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.verticalLayout.addWidget(self.graphicsView)
        self.frmController = QtGui.QFrame(KChart)
        self.frmController.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frmController.setFrameShadow(QtGui.QFrame.Raised)
        self.frmController.setObjectName(_fromUtf8("frmController"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frmController)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.BarTimeRange = QtGui.QScrollBar(self.frmController)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.BarTimeRange.sizePolicy().hasHeightForWidth())
        self.BarTimeRange.setSizePolicy(sizePolicy)
        self.BarTimeRange.setOrientation(QtCore.Qt.Horizontal)
        self.BarTimeRange.setObjectName(_fromUtf8("BarTimeRange"))
        self.horizontalLayout.addWidget(self.BarTimeRange)
        spacerItem = QtGui.QSpacerItem(322, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.BtnAuto = QtGui.QPushButton(self.frmController)
        self.BtnAuto.setObjectName(_fromUtf8("BtnAuto"))
        self.horizontalLayout.addWidget(self.BtnAuto)
        self.verticalLayout.addWidget(self.frmController)

        self.retranslateUi(KChart)
        QtCore.QMetaObject.connectSlotsByName(KChart)

    def retranslateUi(self, KChart):
        KChart.setWindowTitle(_translate("KChart", "Chart Window", None))
        self.BtnAuto.setText(_translate("KChart", "Auto", None))

from KGraphics.KBaseGraphicView import KBaseGraphicView
